package com.zsgeek.wisdchain.qutu.base.presenter;


import com.zsgeek.wisdchain.qutu.QuTuApplication;
import com.zsgeek.wisdchain.qutu.base.http.JsonRequest;
import com.zsgeek.wisdchain.qutu.base.http.JsonRequestCallBack;
import com.zsgeek.wisdchain.qutu.tools.FileUtil;
import com.zsgeek.wisdchain.qutu.tools.UrlPathHelper;

/**
 * Created by 王亨彬 on 2019/8/13.
 */
public class UserDeviceGetDevice {
    public UserDeviceGetDevice(JsonRequestCallBack pufaKuaiOpenView, Class clazz) {
        new JsonRequest(pufaKuaiOpenView)
                .postJson(UrlPathHelper.getLocalhost() + "userDevice/getDevice?deviceKey=" + FileUtil.getUUID() + "&type=" + QuTuApplication.firstInstallation,
                        true, null, clazz);
    }
}
